﻿Ext.define('CategArticulos', {
    extend: 'ABMBase',
    Title: 'Formulario ABM Parámetro de Sistema',
    Model: 'Model.ConfigPar',
    defaultPropertySort: 'nm_parametro',
    WindowPanel: [{
        xtype: 'textfield',
        fieldLabel: 'Identificador',
        name: 'cd_parametro',
        maxLength: 40,
        isPrimaryKey: true,
        enforceMaxLength: true,
        allowBlank: false
    }, {
        xtype: 'textfield',
        fieldLabel: 'Descripción',
        name: 'nm_parametro',
        maxLength: 250,
        enforceMaxLength: true,
        allowBlank: false
    }, {
        xtype: 'textfield',
        fieldLabel: 'Valor',
        name: 'va_parametro',
        maxLength: 250,
        enforceMaxLength: true,
        allowBlank: false
    }],
    Columns: [
            { text: 'Identificador', dataIndex: 'cd_parametro', filter: true },
            { text: 'Descripcion', dataIndex: 'nm_parametro', filter: true, width: 400 },
            { text: 'Valor', dataIndex: 'va_parametro', filter: true, width: 200 }
        ]
});
